<%--
    Document   : connect
    Created on : 29 oct. 2011, 17:14:53
    Author     : shibron
--%>
<%@ page import="java.util.*" %>
<%@page contentType="application/xml" pageEncoding="UTF-8"%>
<jsp:useBean id="user" scope="session" class="LDAP.User" />
<jsp:useBean id="monBean" class="MD.GlobalMiddleWare" scope="application"></jsp:useBean>
<jsp:setProperty name="user" property="id" value='<%=request.getParameter("id")%>' />
<%@ include file="recupCookies.jsp" %>
<%  if(request.getMethod()=="GET"){
        %><personne>
            <id>$<%=user.getId()%></id>
            <nom><%=user.getNom()%></nom>
            <prenom><%=user.getPrenom()%></prenom>
            <type><%=user.getType()%></type>
            <member><%=user.getUe()%></member>
            <UEs><%
        for(ArrayList<String> s:monBean.getUE(/*numEtu.getValue*/)){
            %><ue>
                <codeUE><%=s.get(0)%></codeUE>
                <nomUE><%=s.get(1)%></nomUE>
            </ue><%
        }%></UEs></personne><%
    }
%>